<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="ltr" lang="en-gb">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>申请创群</title>
<link type="text/css" rel="Stylesheet"
	href="/PCT/StyleAll/styleLogIn.css" />
<link type="text/css" rel="Stylesheet" href="/PCT/StyleAll/styleAll.css" />
<style type="text/css">
.STYLE1 {
	font-size: 36px
}
</style>
</head>

<body class="browser-webkit can-transform has-shadows transform">
	<div class="header">
		<a> <img src="/PCT/image/Logo Small.png" width=1000px height=50px
			alt="Logo Small">
		</a>
	</div>
	<p>&nbsp;</p>
	<div class="page">
		<div id="page-header">
			<div id="search-box">
				<s:if test="#session.status.currentUser.userType == 1">病友：</s:if>
				<s:elseif test="#session.status.currentUser.userType == 2">医生：</s:elseif>
				<s:elseif test="#session.status.currentUser.userType == 3">管理员：</s:elseif>
				<a><s:property value="#session.status.currentUser.username" /></a>
				等级： <a><s:property value="#session.status.currentUser.rank" /></a>
				<img src="/PCT/image/2.png" width=15px height=15px> <a
					href=" <s:url action='logout' namespace='/secure'/>">退出</a>
			</div>
			<s:if test="#session.status.currentUser.userType != 0">
				<a
					href="<s:url action='redirectResult' namespace='/public'>
					<s:param name='redirectType' value='5' />
				</s:url>"
					class="button2">账户管理</a>
			</s:if>

			<a
				href="<s:url action='redirectResult' namespace='/public'>
					<s:param name='redirectType' value='10' />
				</s:url>"
				class="button2">我的群</a>
		</div>
		<div>
			<div class="panel">
				<div class="inner">
					<span class="corners-top"><span></span></span>
					<h2>病友互助社区 - 申请创群</h2>
					<fieldset class="fields2">
						<s:form action="applyNewGroup" namespace="/secure">
							<s:textfield name="groupName" size="25"
								cssClass="inputbox autowidth" label="群名"></s:textfield>
							<s:textarea name="groupDescription" cols="30" rows="8"
								cssClass="inputbox autowidth" label="群简介"></s:textarea>
							<s:submit value="提交申请" cssClass="button1" />
						</s:form>
					</fieldset>
				</div>
			</div>
		</div>
	</div>
	<div class="footer">
		<div class="copyright">
			<p class="copy-left">上海交通大学 软件学院</p>
			<p class="copy-right">
				设计风格 <a href=" http://www.artodia.com/">Artodia</a> 。
			</p>
		</div>
	</div>
</body>

</html>